
public class code081 {
	 public static void main(String[] args) {
			for (int i = 0; i <= 10; i++) {
				if(i==0||i==10){
					for (int j = 0; j <= 10; j++) {
						System.out.print("*");
					}
				}else{
					System.out.print("*");
					for(int j=0;j<=8;j++){
						System.out.print(" ");
					}
					System.out.print("*");
				}
				System.out.println();
			}
				
		}
}
